@@ -1,3 +1,2 @@ |
||
1 | 1 |
uri = URI.parse(ENV["REDISTOGO_URL"]) |
2 |
-REDIS = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password) |
|
3 |
-Resque.redis = REDIS |
|
2 |
+REDIS = Redis.new(:url => ENV['REDISTOGO_URL']) |